package com.dongdongshop.service;

import com.dongdongshop.pojo.TbOrder;
import com.dongdongshop.pojo.TbOrderItem;
import com.dongdongshop.pojo.TbPayLog;
import com.dongdongshop.pojo.TbUser;
import com.dongdongshop.vo.OderOderItemSend;
import com.dongdongshop.vo.OrderOrderItemVO;

import java.util.List;
import java.util.Map;

public interface OrderService {
    int addOrder(TbOrder order);

    void updateOrderStatus(int i, String out_trade_no, String trade_no);

    OrderOrderItemVO selectUser(String out_trade_no);

    void addInfoLog(TbPayLog tbPayLog);

    List<OderOderItemSend> sendShow(TbUser user, String status);

    void updateByOrder(String orderNum, String serialNum);

    TbOrder selectByOrder(String out_trade_no);

    void updateOrderRefundStatus(String out_trade_no, String status);
}
